import {
  IsEnum,
  IsNotEmpty,
  IsNumberString,
  MaxLength,
  MinLength,
} from 'class-validator';

export class CreateBankCard {
  @IsNumberString()
  @IsNotEmpty()
  @MinLength(16)
  @MaxLength(19)
  cardId: string;

  @IsNotEmpty()
  bank: number;
}
